package work.xkong.vo.outputvo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @PACKAGE_NAME: work.xkong.vo.outputvo
 * @NAME: StudentInfoOutputVo
 * @USER: NuanYang
 * @author: 查炼飞
 * @create: 2022/11/27 18:02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StudentInfoOutputVo {
    private Integer studentNumber;
    private String studentName;
    private String departmentName;
    private String majorName;
    private String className;
    private String studentEmail;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime studentBirthday;
    private Integer studentSex;
    private String studentPassword;
}
